package com.pk.platform.business.report.web;

import java.io.InputStream;

import com.pk.platform.business.core.web.GenericAction;
import com.pk.platform.business.report.service.IOperateLogReportService;
import com.pk.platform.business.report.vo.OperateLogVO;

public class OperateLogReportAction extends GenericAction {

	private IOperateLogReportService operateLogReportService;
	
	private InputStream excelStream;
	
	private OperateLogVO olvo = new OperateLogVO();
	
	public String operateLogReportManage()
	{
		return SUCCESS;
	}
	
	public String queryOperateLogReport()
	{
		excelStream = operateLogReportService.queryOperateLogReport(olvo);
		return FILE;
	}

	public IOperateLogReportService getOperateLogReportService() {
		return operateLogReportService;
	}

	public void setOperateLogReportService(
			IOperateLogReportService operateLogReportService) {
		this.operateLogReportService = operateLogReportService;
	}

	public InputStream getExcelStream() {
		return excelStream;
	}

	public void setExcelStream(InputStream excelStream) {
		this.excelStream = excelStream;
	}

	public OperateLogVO getOlvo() {
		return olvo;
	}

	public void setOlvo(OperateLogVO olvo) {
		this.olvo = olvo;
	}
	
}
